package com.wxh.bomb.netty.myrpc.bean;

import java.io.Serializable;

/**
 * @author wxh
 */
public class User implements Serializable {
    private static final long serialVersionUID = -4925892735064499572L;

    private long userId;
    private String userName;
    private String userCode;
    private String age;
    private String address;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return String.format("用户标识：%d，用户名称：%s，用户编码：%s，用户年龄：%s，用户地址：%s", this.userId, this.userName, this.userCode, this.age, this.address);
    }
}
